/****************************************************************************************
**  File: Plane.hpp
**  Author: Asteroth
**  Date: 8-mag-2009
****************************************************************************************/

#ifndef __PLANE_HPP__
#define __PLANE_HPP__

template <typename T>
class Planex {
public:
	Vector3x<T> P, N; // Point and Normal

	Planex():														P(0, 0, 0), N(0, 0, 1) {}
	Planex(const Planex<T> &plane):									P(plane.P), N(plane.N) {}
	Planex(const Vector3x<T> &point, const Vector3x<T> &normal):	P(point), N(normal) {}
};

typedef Planex<float> Plane;

#endif
